package cn.hnbjx.prepaid.pojo;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class WxParameter {
    @Value("${wx.mp.appid}")
    private String mpAppId;

    @Value("${wx.mp.appsecret}")
    private String mpAppSecret;

    @Value("${wx.mchid}")
    private String mchId;

    @Value("${wx.apikey}")
    private String apikey;

    @Value("${base.domain}")
    private String domain;

    public String getmpAppId() {
        return mpAppId;
    }
    public void setmpAppId(String mpAppId) {
        this.mpAppId = mpAppId;
    }
    public String getMpAppSecret() {
        return mpAppSecret;
    }

    public void setMpAppSecret(String mpAppSecret) {
        this.mpAppSecret = mpAppSecret;
    }


    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }
    //微信退款接口地址
    public static final String refund_url  = "https://api.mch.weixin.qq.com/secapi/pay/refund";
}
